YNQ  YNQ-1.5.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
nqapi.h
Go to the documentation of this file.
1 /*********************************************************************
2  *
3  * Copyright (c) 2021 by Visuality Systems, Ltd.
4  *
5  *********************************************************************
6  * FILE NAME : $Workfile:$
7  * ID : $Header:$
8  * REVISION : $Revision:$
9  *--------------------------------------------------------------------
10  * DESCRIPTION : Upper-level functions
11  *--------------------------------------------------------------------
12  * MODULE : NQ
13  * DEPENDENCIES :
14  ********************************************************************/
15 
16 #ifndef _NQAPI_H_
17 #define _NQAPI_H_
18 
19 #include "cmapi.h"
20 
21 SY_STARTAPI
22 
42 NQ_INT nqStart(void);
43 
50 NQ_INT nqStop(void);
51 
69 
86 
87 
88 /* *** NetBIOS name type and postfixes ****/
89 
90 #define CM_NB_GROUP 0x80
91 #define CM_NB_UNIQUE 0x40
92 
93 #define CM_NB_POSTFIX_WORKSTATION 0x0
94 #define CM_NB_POSTFIX_SERVER 0x20
95 #define CM_NB_POSTFIX_DOMAINMASTERBROWSER 0x1b
96 #define CM_NB_POSTFIX_DOMAINCONTROLLER 0x1c
97 #define CM_NB_POSTFIX_MASTERBROWSER 0x1d
98 
111  NQ_STATUS nqRegisterNetBiosNameEx(const NQ_CHAR* name, const NQ_BYTE flags);
112 
132 NQ_STATUS nqReleaseNetBiosNameEx(const NQ_CHAR* name, const NQ_BYTE flags);
133 
136 #if defined(UD_NQ_INCLUDETRACE) || defined(DOXYGEN)
137 
150 void nqEnableTraceLog(NQ_BOOL on);
151 
154 #endif /* UD_NQ_INCLUDETRACE */
155 
156 SY_ENDAPI
157 
158 #endif /* _NQAPI_H_ */
NQ_STATUS nqReleaseNetBiosNameEx(const NQ_CHAR *name, const NQ_BYTE flags)
NQ_STATUS nqReleaseNetBiosName(const NQ_CHAR *name)
NQ_INT nqStop(void)
unsigned char NQ_BYTE
Definition: udapi.h:27
NQ_STATUS nqRegisterNetBiosNameEx(const NQ_CHAR *name, const NQ_BYTE flags)
int NQ_INT
Definition: udapi.h:28
void nqEnableTraceLog(NQ_BOOL on)
int NQ_BOOL
Definition: udapi.h:30
NQ_INT nqStart(void)
NQ_STATUS nqRegisterNetBiosName(const NQ_CHAR *name)
char NQ_CHAR
Definition: udapi.h:26
NQ_INT NQ_STATUS
Definition: udapi.h:47